<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Login</title>
    <link type="text/css" href="<c:url value='/styles/login.css'/>" rel="stylesheet">
</head>
<body>
<form:form name="login" action="login/authentication.html"
           method="post" commandName="loginModel" class="signin-form">
    <form:errors id="errors" class="errors" element="div"/>
    <div><label for="userName">Username: </label><form:input name="userName" id="userName" type="text" path="userName" /></div>
    <div><label for="password">Password: </label><form:input name="password" id="password" type="password" path="password" /></div>
    <form:button id="login" type="submit" value="Login">Login</form:button>
</form:form>
</body>
</html>